@mitu First of all thank you for looking into that

Even though i ve seen the double entry in the compileoptions.h I ignored it. Therefore my issues

In the /etc/os-release file (as per your advise) there were 2 entries in regards to the pretty_name
I have deleted the last one and of course all compiled nicely and I have now

/opt/retropie/emulators/zesarux/bin/zesarux --version ZEsarUX 12.0 - Bubble Bobble edition. 16 January 2025

PRETTY_NAME="Armbian_community 25.5.0-trunk.4 noble"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
PRIVACY_POLICY_URL="https://www.armbian.com"
UBUNTU_CODENAME=noble
LOGO="armbian-logo"
ARMBIAN_PRETTY_NAME="Armbian_community 25.5.0-trunk.4 noble"

Again thank you